package com.xiaoma.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: xiaoma
 * @Date: 2021/7/26 18:55
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActivityGoodsRelation {
    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 活动id
     */
    private Long ActivityId;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;
    /**
     * 秒杀总量
     */
    private Integer seckillCount;
    /**
     * 每人限购数量
     */
    private Integer seckillLimit;

}
